// 数字输入框
.el-input-number {
  .el-input__inner {
    text-align: left !important;
  }
}

// 表格
.el-table__inner-wrapper {
  border: solid 1px #edeeef;
  border-bottom: none;
}

.el-table {
  th {
    .el-table__cell {
      background-color: #f5f5f5;
    }
    .cell .el-checkbox {
      display: none;
    }
  }
}

// 分页器
.el-pagination {
  width: 100%;
  .is-first {
    flex: 1;
    flex-shrink: 0;
  }
}

// 抽屉
.bc-modal {
  .el-drawer__header {
    padding: 0;
    height: 45px;
    margin-bottom: 0;
    padding: 12px 16px;
    background: #fff;
  }
  .el-drawer__body {
    background-color: #edeeef;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
}

// 卡片
.el-card{
  .el-card__header{
    padding: calc(var(--el-card-padding) - 8px) var(--el-card-padding);
  }
  .card-header {
    height: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  :deep(.el-card__body) {
    overflow: auto;
    height: calc(100% - 48px);
  }
}

// 弹窗
.el-dialog {
  --el-dialog-padding-primary: 0 !important;
  .el-dialog__header {
    height: 45px;
    padding: 12px 16px;
    border-bottom: 1px solid #e8e8e8;
    .el-dialog__title {
      margin: 0;
      font-size: 16px;
      line-height: 22px;
      word-wrap: break-word;
      height: 22px;
    }
    .el-dialog__headerbtn {
      font-size: 20px;
      width: 22px;
      height: 22px;
      top: 13px;
      right: 16px;
    }
  }
  .el-dialog__body {
    padding: 0;
  }
  .el-dialog__footer {
    padding: 12px 16px;
  }
}

.el-tooltip__trigger:focus-visible {
  outline: unset;
}
